import {createStore, applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
import reducers from './reducers'
// applyMiddleware 增加一步
export default createStore(reducers, applyMiddleware(thunk))
